package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentAttachment;
public interface ICmsContentAttachmentService{

	 Optional<CmsContentAttachment> loadCmsContentAttachmentById(Long id);
	
	 void createCmsContentAttachment(CmsContentAttachment cmsContentAttachment);
		
	 void updateCmsContentAttachment(CmsContentAttachment cmsContentAttachment);

	 void deleteCmsContentAttachment(Long id);
	
	 DataSet loadCmsContentAttachmentDataSet(Map<String, Object> params);
	 
     void setCmsContentAttachmentStatus(Long id, Byte status);
     
     void setCmsContentAttachmentStatusByContentId(Long contentId, Byte status);
}